475775a2cab2e20d6c987354e471537c4adcf8a2,portal-impl/src/com/liferay/portal/spring/aop/RetryAdvice.java,RetryAdvice,invoke,#MethodInvocation#,43
Before Change
return returnValue;
}
if (_log.isWarnEnabled()) {
_log.warn(
"Unsatisfactory result from " +
methodInvocation.getMethod() + ". Retrying " +
retries + " more times.");
}
}
catch (Throwable t) {
After Change
return returnValue;
}
if (_log.isWarnEnabled() && (retries != 0)) {
String number = String.valueOf(retries);
if (retries < 0) {
number = "unlimited";
}
_log.warn(
"Retry on " + methodInvocation + " for " + number +
" more times, due to result: " + returnValue);
}
}
catch (Throwable t) {